package com.javaziliao.design.bridge.function;

import com.javaziliao.design.pojo.UserInfo;

import javax.servlet.http.HttpServletRequest;


public interface IRegisterLoginFunc {

    String login(String account, String password);

    String register(UserInfo userInfo);

    boolean checkUserExists(String userName);

    // 第三方账号登录接口
    String login3rd(HttpServletRequest request);
}
